package factory;

public class SimpleDaoFactory {
    /**
     * 创建NewsDao实例的工厂方法
     */
    public static NewsDao getInstance(){
        return new NewsDaoImpl();
    }

    public static NewsDao getInstance(String mysql) {
        return new NewsDaoImpl();
    }
}
